package com.ruoyi.his.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.sign.Base64;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class HisUser extends BaseEntity {



    private static final long serialVersionUID = 1L;

    /** 用户ID,外键 */
    @Excel(name = "用户ID,外键")
    private Long userId;

    /** UUID自动生成,唯一 */
    private String id;

    /** 限额数 */
    @Excel(name = "限额数")
    private Long allowNum;

    /** 科室 */
    @Excel(name = "科室")
    private Long department;

    /** 等级 */
    @Excel(name = "等级")
    private String grade;

    /** 价格 */
    @Excel(name = "价格")
    private String treatmentPrice;

    /** 工作楼层 */
    @Excel(name = "工作楼层")
    private String workAddress;

    /** 工作状态 */
    @Excel(name = "工作状态")
    private String workStatus;

    /** 是否禁用 */
    @Excel(name = "是否禁用")
    private Long emailStatus;

    /** 已挂号数 */
    @Excel(name = "已挂号数")
    private Long nowNum;




    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAllowNum(Long allowNum)
    {
        this.allowNum = allowNum;
    }

    public Long getAllowNum()
    {
        return allowNum;
    }
    public void setDepartment(Long department)
    {
        this.department = department;
    }

    public Long getDepartment()
    {
        return department;
    }
    public void setGrade(String grade)
    {
        this.grade = grade;
    }

    public String getGrade()
    {
        return grade;
    }
    public void setTreatmentPrice(String treatmentPrice)
    {
        this.treatmentPrice = treatmentPrice;
    }

    public String getTreatmentPrice()
    {
        return treatmentPrice;
    }
    public void setWorkAddress(String workAddress)
    {
        this.workAddress = workAddress;
    }

    public String getWorkAddress()
    {
        return workAddress;
    }
    public void setWorkStatus(String workStatus)
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus()
    {
        return workStatus;
    }
    public void setEmailStatus(Long emailStatus)
    {
        this.emailStatus = emailStatus;
    }

    public Long getEmailStatus()
    {
        return emailStatus;
    }
    public void setNowNum(Long nowNum)
    {
        this.nowNum = nowNum;
    }

    public Long getNowNum()
    {
        return nowNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("id", getId())
                .append("allowNum", getAllowNum())
                .append("department", getDepartment())
                .append("grade", getGrade())
                .append("treatmentPrice", getTreatmentPrice())
                .append("workAddress", getWorkAddress())
                .append("workStatus", getWorkStatus())
                .append("emailStatus", getEmailStatus())
                .append("nowNum", getNowNum())
                .append("updateTime", getUpdateTime())
                .append("userName",getUserName())
                .toString();
    }







}
